<%@ page pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ include file="/common/taglibs.jsp"%>
<head>
<title><s:text name="webapp.name" /></title>
<%@ include file="/common/meta.jsp"%>
</head>
<body>
	<s:form action="yjjb_save" method="post" validate="false" theme="simple">
		<%@ include file="/common/header.jsp"%> 
				 
			 <!------------------ 编辑栏 ------------------>
				<table width="*" cellpadding="0" cellspacing="0">
					<tr> 
						<td class="rtm_shb_t" style="text-align:left;">
							<table>
								<tr>
									<td class="rtm_shb_i"><s:hidden name="yjjb.id" /></td>
									<td class="rtm_shb_f">
										<s:text name="yjjb.name" /><s:text name="colon" />
									</td>
									<td class="rtm_tb_f">
										<s:textfield name="yjjb.name" />
									</td>
									<td class="rtm_shb_f">
										<s:text name="yjjb.pcz" /><s:text name="colon" />
									</td>
									<td class="rtm_tb_f">
										<s:textfield name="yjjb.pczKs" style="width:30px;"/>% - <s:textfield name="yjjb.pczJs" style="width:30px;" />%
									</td>
									<td class="rtm_shb_i"><s:text name="yjjb.description" /> <s:text name="colon" /></td>
									<td class="rtm_shb_f"><s:textfield name="yjjb.description" /></td>
								</tr>
							</table>
						</td>
						<td class="rtm_shb_r">
							<s:submit action="yjjb_input" key="button.add" onclick="form.onsubmit=null"></s:submit>
							<s:submit action="yjjb_save" key="button.save"></s:submit>
							<s:submit action="yjjb_list" key="button.modify" onclick="form.onsubmit=null"></s:submit>
							<s:submit action="yjjb_remove" key="button.delete" onclick="form.onsubmit=null"></s:submit>
						</td>
					</tr>
				</table> 
<!----------- 数据列表 ------------------>
				<table width="100%" border="0"  width="*" cellpadding="0" cellspacing="1" class="dg_borderstyle">
					<tr>
						<td class="dg_headerstyle"><input type="checkbox" id="chooseAll" /></td>
						<td class="dg_headerstyle"><s:text name="yjjb.name" /></td>
						<td class="dg_headerstyle"><s:text name="yjjb.description" /></td>
						<td class="dg_headerstyle"><s:text name="yjjb.pcz" /></td> 
						<td class="dg_headerstyle"><s:text name="base.dateCreate" /></td>
						<td class="dg_headerstyle"><s:text name="base.dateUpdate" /></td>
					</tr>
					<s:iterator value="dataList">
						<tr class="dg_alternatingitemstyle">
							<td align="center"><input type="checkbox" name="ids" value="${id}" /></td>
							<td align="left"><a href="${ctx}/yjjb_list?yjjb.id=${id}">${name}</a></td>
							<td align="left">${description}</td>
							<td align="left">${pczKs}% - ${pczJs}%</td> 
							<td align="center">${dateCreate}</td>
							<td align="center">${dateUpdate}</td>
						</tr>
					</s:iterator>
				</table> 
		<%@ include file="/common/footer.jsp"%>
	</s:form>
</body>
</html>
